package com.cloudkinto.vo.order.allocate;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author long
 * @Description 调拨添加产品列表实体
 * @Date 2025/3/11 18:29
 */
@Data
public class AllocateProductListVo {

    @ApiModelProperty(value = "平台产品id")
    private String platformProductId;

    @ApiModelProperty(value = "图片")
    private String imageUrl;

    @ApiModelProperty(value = "店铺id")
    private Long storeId;

    @ApiModelProperty(value = "店铺")
    private String storeName;

    private String msku;

    private String fnsku;

    private String asin;

    private String parentAsin;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty("配对仓库产品列表")
    private List<PairProductVo> pairProductVoList;

    @Data
    public static class PairProductVo {
        @ApiModelProperty(value = "配对产品id")
        private Long pairId;

        @ApiModelProperty(value = "品名")
        private String productName;

        private String sku;

        private String janCode;

        @ApiModelProperty(value = "产品id")
        private Long productId;

        @ApiModelProperty(value = "配对数量")
        private Integer pairQty;
    }
}
